<?php /* Smarty version Smarty-3.1.12, created on 2013-06-03 22:57:40
         compiled from "D:\redwazi2\sys-admin\template\common\message.htm" */ ?>
<?php /*%%SmartyHeaderCode:1019051acaee418a409-97069292%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'e7db88855a6c182c1c9a5312a4a04996c423e8e5' => 
    array (
      0 => 'D:\\redwazi2\\sys-admin\\template\\common\\message.htm',
      1 => 1368414808,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1019051acaee418a409-97069292',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'type' => 0,
    'message' => 0,
    'auto_redirect' => 0,
    'seconds' => 0,
    'links' => 0,
    'link' => 0,
    'default_url' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_51acaee42f9242_86207716',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_51acaee42f9242_86207716')) {function content_51acaee42f9242_86207716($_smarty_tpl) {?><!-- $Id: start.htm 17216 2011-01-19 06:03:12Z liubo $ -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title></title>
<meta name="robots" content="noindex, nofollow">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="/sys-admin/css/general.css" rel="stylesheet" type="text/css">
<link href="/sys-admin/css/main.css" rel="stylesheet" type="text/css">
</head>
<body>	
<h1><span class="action-span1"><a href="javascript:void(0);">系统信息</a></span></h1>
<div class="list-div">
  <div style="background:#FFF; padding: 20px 50px; margin: 2px;">
    <table align="center" width="400">
      <tr>
        <td valign="top" width="50">
          <?php if ($_smarty_tpl->tpl_vars['type']->value==0){?>
           <img src="/sys-admin/images/information.gif" width="32" height="32" border="0" alt="提示" />
          <?php }elseif($_smarty_tpl->tpl_vars['type']->value==1){?>
          <img src="/sys-admin/images/warning.gif" width="32" height="32" border="0" alt="警告" />
          <?php }else{ ?>
          <img src="/sys-admin/images/confirm.gif" width="32" height="32" border="0" alt="确认"/>
          <?php }?>
        </td>
        <td style="font-size: 14px; font-weight: bold"><?php echo $_smarty_tpl->tpl_vars['message']->value;?>
</td>
      </tr>
      <tr>
        <td></td>
        <td id="redirectionMsg"><?php if ($_smarty_tpl->tpl_vars['auto_redirect']->value){?>如果您不做出选择，将在 <span id="spanSeconds"><?php echo $_smarty_tpl->tpl_vars['seconds']->value;?>
</span> 秒后跳转到第一个链接地址。<?php }?></td>
      </tr>
      <tr>
        <td></td>
        <td>
          <ul style="margin:0; padding:0 10px" class="msg-link">
            <?php  $_smarty_tpl->tpl_vars['link'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['link']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['links']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['link']->key => $_smarty_tpl->tpl_vars['link']->value){
$_smarty_tpl->tpl_vars['link']->_loop = true;
?>
            <li><a href="<?php echo $_smarty_tpl->tpl_vars['link']->value['href'];?>
"><?php echo $_smarty_tpl->tpl_vars['link']->value['text'];?>
</a></li>
            <?php } ?>
          </ul>
        </td>
      </tr>
	</table>
  </div>
</div>
<script language="JavaScript">
var seconds = <?php echo $_smarty_tpl->tpl_vars['seconds']->value;?>
;
var defaultUrl = "<?php echo $_smarty_tpl->tpl_vars['default_url']->value;?>
";
onload = function(){
  if (defaultUrl == 'javascript:history.go(-1)' && window.history.length == 0){
    document.getElementById('redirectionMsg').innerHTML = '';
    return;
  }
  <?php if ($_smarty_tpl->tpl_vars['auto_redirect']->value){?>
  window.setInterval(redirection, 1000);
  <?php }?>
}
function redirection()
{
  if (seconds <= 0){
    window.clearInterval();
    return;
  }
  seconds --;
  document.getElementById('spanSeconds').innerHTML = seconds;
  if (seconds == 0){
    window.clearInterval();
    location.href = defaultUrl;
  }
}
</script>
</body>
</html><?php }} ?>